<?php

class Install_Controller extends Template_Controller {

    public $template = 'webauth/installation';

    public function index()
    {
        $this->template->title = "Web Auth :: Installation";
        if (! isset($_POST["fSubmit"]))
        {
            $this->template->content = new View("installation/test_sql");
        }
        else
        {
            $this->template->content = new View("installation/form");
        }
    }

    public function __call($method, $args)
    {
        $this->index();
    }
}
